Well, on a XZ plane and a gradient x I'd say a warp{pigment{marble} x} would
produce the zig-zag pattern.
Each point of the gradient would be warped along the specified axis (here x),
and the amount of warping would depend on the current value of the warp pattern
(marble = gradient z triangle_wave which goes min>max>min>... along the z axis).
Several image manipulation programs have filters that use this prince; I know
GIMP has one, so does HLA (height_field generator). It allows for many kinds of
interesting effects.
Margus
Ken wrote:
>
> Could you break this down to help me understand how this might produce
> a zigzag pattern ? I'm so easily confused...
>
Post a reply to this message
|